-
Notifications
You must be signed in to change notification settings - Fork 926
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add the Thrift tutorial #4865
Add the Thrift tutorial #4865
Conversation
Add thrift tutorial images Update site/src/pages/tutorials/thrift/blog/create-server.mdx Co-authored-by: Hanee Park <[email protected]> Update site/src/pages/tutorials/thrift/blog/create-server.mdx Co-authored-by: Hanee Park <[email protected]> Update site/src/pages/tutorials/thrift/blog/create-server.mdx Co-authored-by: Hanee Park <[email protected]> Update site/src/pages/tutorials/thrift/blog/implement-create.mdx Co-authored-by: Hanee Park <[email protected]> Update site/src/pages/tutorials/thrift/blog/implement-create.mdx Co-authored-by: Hanee Park <[email protected]> Update site/src/pages/tutorials/thrift/blog/implement-delete.mdx Co-authored-by: Hanee Park <[email protected]> Update site/src/pages/tutorials/thrift/blog/implement-update.mdx Co-authored-by: Hanee Park <[email protected]> Update site/src/pages/tutorials/thrift/blog/implement-create.mdx Co-authored-by: Hanee Park <[email protected]> Update implement-create.mdx Update site/src/pages/tutorials/thrift/blog/implement-delete.mdx Co-authored-by: Hanee Park <[email protected]> Update site/src/pages/tutorials/thrift/blog/implement-delete.mdx Co-authored-by: Hanee Park <[email protected]> Update site/src/pages/tutorials/thrift/blog/implement-delete.mdx Co-authored-by: Hanee Park <[email protected]> Update site/src/pages/tutorials/thrift/blog/implement-read.mdx Co-authored-by: Hanee Park <[email protected]> Update site/src/pages/tutorials/thrift/blog/implement-read.mdx Co-authored-by: Hanee Park <[email protected]> Update site/src/pages/tutorials/thrift/blog/implement-read.mdx Co-authored-by: Hanee Park <[email protected]> Update site/src/pages/tutorials/thrift/blog/implement-read.mdx Co-authored-by: Hanee Park <[email protected]> Update index.mdx Update site/src/pages/tutorials/thrift/blog/run-service.mdx Co-authored-by: Hanee Park <[email protected]> Update index.mdx Update run-service.mdx Update create-server.mdx Update run-service.mdx Rename run-service.mdx to create-client.mdx Update toc.json Update create-server.mdx Update implement-read.mdx Update implement-read.mdx Update implement-read.mdx Update implement-update.mdx Update implement-delete.mdx Update add-docservice.mdx Update create-server.mdx Update implement-create.mdx
Looking forward to this PR!
Will do 🙇 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking good! Let me know when this PR is ready for review 🙇
Co-authored-by: jrhee17 <[email protected]>
Perhaps I should have asked this earlier, but I'm wondering if there is a style guide or coding convention I can refer to when working on the Armeria project. To be more specific,
|
Sorry about the confusion, I don't think there are a set of rules that we strictly follow 😅
In this project I think we have a rule for max 112 characters per line for java files
This isn't enforced for other file types, but I guess this is a good rule to follow.
I think the general rule is as long as the code block doesn't overflow we should be good. I apologize since I think this comment may have caused confusion (actually I think I wasn't sure myself 😅 ) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
examples/tutorials/thrift/src/main/java/example/armeria/server/blog/thrift/BlogClient.java
Outdated
Show resolved
Hide resolved
Co-authored-by: jrhee17 <[email protected]>
Co-authored-by: jrhee17 <[email protected]>
Co-authored-by: jrhee17 <[email protected]>
Co-authored-by: jrhee17 <[email protected]>
Co-authored-by: jrhee17 <[email protected]>
Co-authored-by: jrhee17 <[email protected]>
Co-authored-by: jrhee17 <[email protected]>
Co-authored-by: jrhee17 <[email protected]>
Co-authored-by: jrhee17 <[email protected]>
Reviews are a little slow at the moment since we're busy releasing the next version 😅 Sorry about it. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Way to go, @haneepark! 🚀🙇
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks a lot, @haneepark! ❤️🚀 This is a well-written tutorial!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for writing this awesome tutorial, @haneepark! 👍 🙇 🙇♂️
Motivation: - There are differences among Armeria tutorials: structural difference in introduction, style differences in writing. - Different ways(curl, logging, testing) are used to verify its implementation in each tutorial. - The Thrift tutorial is most recently updated (#4865) and using test code seems to be the most appropriate way to go. Modifications: - Update introductions for each tutorials - Update REST tutorial to use test code - Rewrite gRPC tutorial to align with Thrift tutorial Result: - Updates tutorials on Armeria site --------- Co-authored-by: jrhee17 <[email protected]>
Motivation:
Modifications:
Result:
Please note:
// TW:
inindex.mdx
.